package GUI;

import javax.swing.JPanel;
import javax.swing.JTabbedPane;
import java.awt.Color;
import javax.swing.BorderFactory;
import javax.swing.JTable;
import java.awt.Font;
import javax.swing.JTextField;
import javax.swing.JLabel;
import javax.swing.JRadioButton;
import javax.swing.JButton;


public class PanelTarifas extends JPanel {
	private JTable table;
	private JTextField textField;
	private JTextField textField_1;
	private JTextField textField_2;
	private JTextField textField_3;
	public PanelTarifas() {
		setLayout(null);
		
		JTabbedPane tabbedPane = new JTabbedPane(JTabbedPane.TOP);
		tabbedPane.setBounds(10, 5, 489, 556);
		add(tabbedPane);
		
		JPanel panel = new JPanel();
		tabbedPane.addTab("TARIFA ACUEDUCTO", null, panel, null);
		panel.setLayout(null);
		panel.setBorder(BorderFactory.createTitledBorder(""));
		panel.setBackground(new Color(135, 206, 235));
		
		table = new JTable();
		table.setFont(new Font("SansSerif", Font.PLAIN, 16));
		table.setBorder(BorderFactory.createTitledBorder(""));
		table.setBounds(12, 13, 453, 240);
		panel.add(table);
		
		JPanel panel_1 = new JPanel();
		panel_1.setLayout(null);
		panel_1.setBorder(BorderFactory.createTitledBorder(""));
		panel_1.setBounds(12, 265, 453, 243);
		panel.add(panel_1);
		
		textField = new JTextField();
		textField.setFont(new Font("SansSerif", Font.PLAIN, 16));
		textField.setBounds(201, 113, 126, 32);
		panel_1.add(textField);
		
		JLabel label = new JLabel();
		label.setText("Consumo Suntuario");
		label.setFont(new Font("SansSerif", Font.PLAIN, 16));
		label.setBounds(10, 121, 146, 16);
		panel_1.add(label);
		
		JLabel label_1 = new JLabel();
		label_1.setText("Consumo Complementario");
		label_1.setFont(new Font("SansSerif", Font.PLAIN, 16));
		label_1.setBounds(10, 82, 191, 16);
		panel_1.add(label_1);
		
		textField_1 = new JTextField();
		textField_1.setFont(new Font("SansSerif", Font.PLAIN, 16));
		textField_1.setBounds(200, 75, 126, 32);
		panel_1.add(textField_1);
		
		JLabel label_2 = new JLabel();
		label_2.setText("Consumo Basico");
		label_2.setFont(new Font("SansSerif", Font.PLAIN, 16));
		label_2.setBounds(11, 48, 128, 16);
		panel_1.add(label_2);
		
		textField_2 = new JTextField();
		textField_2.setFont(new Font("SansSerif", Font.PLAIN, 16));
		textField_2.setBounds(201, 42, 126, 32);
		panel_1.add(textField_2);
		
		JLabel label_3 = new JLabel();
		label_3.setText("Cargo Fijo Acueducto");
		label_3.setFont(new Font("SansSerif", Font.PLAIN, 16));
		label_3.setBounds(10, 10, 152, 21);
		panel_1.add(label_3);
		
		textField_3 = new JTextField();
		textField_3.setFont(new Font("SansSerif", Font.PLAIN, 16));
		textField_3.setBounds(201, 7, 126, 32);
		panel_1.add(textField_3);
		
		JRadioButton radioButton = new JRadioButton();
		radioButton.setText("Parametrizar  valores");
		radioButton.setFont(new Font("SansSerif", Font.PLAIN, 16));
		radioButton.setBounds(10, 155, 174, 18);
		panel_1.add(radioButton);
		
		JRadioButton radioButton_1 = new JRadioButton();
		radioButton_1.setText("Actualizar valores");
		radioButton_1.setFont(new Font("SansSerif", Font.PLAIN, 16));
		radioButton_1.setContentAreaFilled(false);
		radioButton_1.setBounds(190, 154, 146, 18);
		panel_1.add(radioButton_1);
		
		JButton button = new JButton();
		button.setText("Aceptar");
		button.setFont(new Font("SansSerif", Font.PLAIN, 16));
		button.setBounds(35, 192, 131, 41);
		panel_1.add(button);
		
		JButton button_1 = new JButton();
		button_1.setText("Cancelar");
		button_1.setFont(new Font("SansSerif", Font.PLAIN, 16));
		button_1.setBounds(196, 192, 131, 41);
		panel_1.add(button_1);
	}
}
